

        <g:set var="entityName" value="${message(code: 'term.label', default: 'Term')}" />
            <div class="dialog">
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="term.id.label" default="Id" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: termInstance, field: "id")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="term.school.label" default="School" /></td>
                            
                            <td valign="top" class="value"><g:link controller="school" action="show" id="${termInstance?.school?.id}">${termInstance?.school?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="term.term.label" default="Term" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: termInstance, field: "term")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="term.startTime.label" default="Start Time" /></td>
                            
                            <td valign="top" class="value"><g:formatDate date="${termInstance?.startTime}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="term.endTime.label" default="End Time" /></td>
                            
                            <td valign="top" class="value"><g:formatDate date="${termInstance?.endTime}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="term.year.label" default="Year" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: termInstance, field: "year")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="term.description.label" default="Description" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: termInstance, field: "description")}</td>
                            
                        </tr>
                    
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form>
                    <g:hiddenField name="id" value="${termInstance?.id}" />
                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </g:form>
            </div>
